<script type="text/javascript">
    $(function(){
        trbgmoves('#d3dff2');
    })
    function shitss(id){
        var sid= $("#sid"+id).val();
        window.open('http://www.aliexpress.com/snapshot/'+sid+'.html');
    }
</script>
<!--top结束-->
<div class="mian">
    <div class="mian1">
        <div class="mian2">
            <!--left start-->
            <?php $this->load->view('defaults/common/left');?>
            <!--left end-->

            <!--right start-->
            <div class="right">
                <!--breadcrumb start-->
                <div class="righta"><?=$this->breadcrumb->generateHTML();?> </div>
                <!--breadcrumb end-->

                <!-- contents start -->
                <div id="contents" style="width: 1200px">
                    <div id="ct_search"  style="width: 1200px">
                            <table id="search_tb" style="width: 1200px">
                                <tr>
                                    <td >
                                        <?=lang('smtwfsbxhpp')?>：
                                        <?php if($bdname){foreach($bdname as $key=>$val):?>
                                        <a href="javascript:void(0)"><?=$val?><a>
                                        <?php endforeach;}?>
                                    </td>
                                </tr>
                            </table>
                    </div>
                    <div class="ct_content" style="width: 1200px">
                        <table class="tbwd800" style="width: 1200px">
                            <tr>
                                <td><?=lang('smtddh')?></td>
                                <td><?=lang('smtspm')?> <?=$tishi?></td>
                                <td><?=lang('smtwbjg')?></td>
                                <td><?=lang('smtddsj')?></td>
                                <td><?=lang('smtcz')?></td>
                            </tr>
                            <?php foreach($btlist as $key=>$v):
                                $arr=explode(',',$v['snapshot_id']);
                                $at=explode('"',$arr[0]);
                                ?>
                                <tr class="moves" style="color: <?=$v['status']==1?'red':''?>" id="<?=$v['parent_order_id']?>" ondblclick="shitss(id)">
                                    <td><input type="hidden" id="sid<?=$v['parent_order_id']?>" name="sid" value="<?=$at[3]?>"><?=$v['parent_order_id']?></td>
                                    <td><?=$v['item_name']?></td>
                                    <td><?=$v['warrantyPriceAmt']?></td>
                                    <td><?=$v['pay_order_time']?></td>
                                    <td><a href="<?=blang_url('orders/Smtexcel/postbrandmodel/'.$v['parent_order_id'])?>"><?=lang('smttjpphxh')?></a>
                                        <!--<a href="<?=blang_url('orders/Smtexcel/deletesc/'.$v['parent_order_id'])?>">删除</a></td>-->
                                </tr>
                            <?php endforeach; ?>
                            <?php foreach($btlist2 as $key=>$v):
                                $arr=explode(',',$v['snapshot_id']);
                                $at=explode('"',$arr[0]);
                                ?>
                                <tr style="color: <?=$v['status']==3?'blue':''?>" id="<?=$v['parent_order_id']?>" ondblclick="shitss(id)">
                                    <td><input type="hidden" id="sid<?=$v['parent_order_id']?>" name="sid" value="<?=$at[3]?>"><?=$v['parent_order_id']?></td>
                                    <td><?=$v['item_name']?></td>
                                    <td><?=$v['warrantyPriceAmt']?></td>
                                    <td><?=$v['pay_order_time']?></td>
                                    <td><a href="<?=blang_url('orders/Smtexcel/postbrandmodel/'.$v['parent_order_id']).'/'.$btlistno[$v['parent_order_id']]?>"><?=lang('smttjxh')?></a>
                                        <!--<a href="<?=blang_url('orders/Smtexcel/deletesc/'.$v['parent_order_id'])?>">删除</a></td>-->
                                </tr>
                            <?php endforeach; ?>
                            <tr><td colspan="6" align="center"><?=$pageshow?></td></tr>
                        </table>
                    </div>
                </div>
                <!-- contents end -->
            </div>
            <!--right end-->
        </div>
    </div>
</div>
